const less = require('./less');

module.exports = {
  productionSourceMap: false,
  css: {
    loaderOptions: {
      less
    }
  },
  chainWebpack: config => {
    const svgRule = config.module.rule('svg');
    svgRule.uses.clear();
    svgRule.use('vue-svg-loader').loader('vue-svg-loader');
  }
};
